home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 59 / Cine Live 59.iso / pc / Data / Interface / av1.k < prev    next >
Encoding:
Text File  |  2002-06-05  |  5.2 KB  |  236 lines

  1. module oRoot1 is cBox
  2. with 
  3.     release Editor:
  4.         IOWindow is {$000000D3,$00000049,$000002D0,$00000280,$00000000,$00000000,$00000000,$00000000};
  5.         LayoutWindow is {$000000C9,$000000A2,$0000037B,$00000368,$00000026,$00000080,$00000064,$00000000};
  6.     end;
  7.     Name is "Root"; 
  8.     Enabled is false; 
  9.     
  10.     Width is 800; Height is 600; 
  11.     
  12.     
  13.     Elements is [
  14.         oMusic2,
  15.         ofond3,
  16.         obouton_sommaire4,
  17.         obouton_retour6,
  18.         obouton_lancer7,
  19.         oVid_o8
  20.     ];
  21.     Events is [
  22.         cOnscreenEvent
  23.         with Flags is $00000004; 
  24.             Commands is [
  25.                 cRunCommand
  26.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  27.             ];
  28.         end,
  29.         cKeyboardEvent
  30.         with Flags is $00000004; Test is IsSpace; 
  31.             Commands is [
  32.                 cRunCommand
  33.                 with Flags is $00000004; Target is oVid_o8; Mode is Toggle; end
  34.             ];
  35.         end,
  36.         cKeyboardEvent
  37.         with Value is "+"; 
  38.             Commands is [
  39.                 cSetVolumeCommand
  40.                 with Mode is ExecuteHigher; end
  41.             ];
  42.         end,
  43.         cKeyboardEvent
  44.         with Value is "-"; 
  45.             Commands is [
  46.                 cSetVolumeCommand
  47.                 with Flags is $00000004; Mode is ExecuteLower; end
  48.             ];
  49.         end,
  50.         cKeyboardEvent
  51.         with Value is "m"; 
  52.             Commands is [
  53.                 cRunCommand
  54.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  55.             ];
  56.         end
  57.     ];
  58. end;
  59.  
  60. object oMusic2 is cSound
  61. with 
  62.     Flags is $00000150; 
  63.     Name is "Music"; 
  64.     
  65.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  66.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  67.     Looping is true; 
  68.     URL is "data/Sons/2.mp3"; URLOption is GetDiskURL; 
  69.     
  70. end;
  71.  
  72. object ofond3 is cImage
  73. with 
  74.     Flags is $00008001; 
  75.     Name is "fond"; 
  76.     Enabled is false; 
  77.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  78.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  79.     
  80.     URL is "data/Images/a1.jpg"; URLOption is GetDiskURL; 
  81.     
  82.     
  83. end;
  84.  
  85. object obouton_sommaire4 is cImage
  86. with 
  87.     Flags is $00000150; 
  88.     Name is "bouton sommaire"; 
  89.     Shown is false; Cursor is oFingerCursor; 
  90.     X is 629; Y is 573; 
  91.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  92.     
  93.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  94.     
  95.     
  96.     Events is [
  97.         cMouseEnterEvent
  98.         with Flags is $00000004; 
  99.             Commands is [
  100.                 cShowCommand
  101.                 with Flags is $00000004; Target is obouton_sommaire4; end
  102.             ];
  103.         end,
  104.         cMouseLeaveEvent
  105.         with Flags is $00000004; 
  106.             Commands is [
  107.                 cShowCommand
  108.                 with Flags is $00000004; Target is obouton_sommaire4; Mode is Clear; end
  109.             ];
  110.         end,
  111.         cMouseUpEvent
  112.         with Flags is $00000004; Flag is true; 
  113.             Commands is [
  114.                 cBrowseCommand
  115.                 with Flags is $00000004; URL is "data/Interface/sommaire.k"; URLOption is GetDiskURL; end
  116.             ];
  117.         end
  118.     ];
  119. end;
  120.  
  121. object obouton_retour6 is cImage
  122. with 
  123.     Flags is $00000050; 
  124.     Name is "bouton retour"; 
  125.     Shown is false; Cursor is oFingerCursor; 
  126.     X is 321; Y is 573; 
  127.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  128.     
  129.     URL is "data/Images/vid%20retour.jpg"; URLOption is GetDiskURL; 
  130.     
  131.     
  132.     Events is [
  133.         cMouseEnterEvent
  134.         with Flags is $00000004; 
  135.             Commands is [
  136.                 cShowCommand
  137.                 with Target is oTargetSelf; end
  138.             ];
  139.         end,
  140.         cMouseLeaveEvent
  141.         with Flags is $00000004; 
  142.             Commands is [
  143.                 cShowCommand
  144.                 with Target is oTargetSelf; Mode is Clear; end
  145.             ];
  146.         end,
  147.         cMouseUpEvent
  148.         with Flags is $00000004; Flag is true; 
  149.             Commands is [
  150.                 cBackCommand
  151.                 with end
  152.             ];
  153.         end
  154.     ];
  155. end;
  156.  
  157. object obouton_lancer7 is cImage
  158. with 
  159.     Flags is $00000050; 
  160.     Name is "bouton lancer"; 
  161.     Shown is false; Cursor is oFingerCursor; 
  162.     X is 475; Y is 573; 
  163.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  164.     
  165.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  166.     
  167.     
  168.     Events is [
  169.         cMouseEnterEvent
  170.         with Flags is $00000004; 
  171.             Commands is [
  172.                 cShowCommand
  173.                 with Flags is $00000004; Target is oTargetSelf; end
  174.             ];
  175.         end,
  176.         cMouseLeaveEvent
  177.         with Flags is $00000004; 
  178.             Commands is [
  179.                 cShowCommand
  180.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  181.             ];
  182.         end,
  183.         cMouseUpEvent
  184.         with Flags is $00000004; Flag is true; 
  185.             Commands is [
  186.                 cRunCommand
  187.                 with Flags is $00000004; Target is oMusic2; Mode is Clear; Rewind is true; end,
  188.                 cShowCommand
  189.                 with Flags is $00000004; Target is oVid_o8; end,
  190.                 cEnableCommand
  191.                 with Flags is $00000004; Target is oVid_o8; end,
  192.                 cRunCommand
  193.                 with Flags is $00000004; Target is oVid_o8; Rewind is true; end
  194.             ];
  195.         end
  196.     ];
  197. end;
  198.  
  199. object oVid_o8 is cMPEGMovie
  200. with 
  201.     Flags is $00000050; 
  202.     Name is "Vid\$E9o"; 
  203.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  204.     
  205.     Width is 800; Height is 600; 
  206.     
  207.     URL is "data/Videos/a1.mpg"; URLOption is GetDiskURL; 
  208.     Events is [
  209.         cFinishedEvent
  210.         with Flags is $00000004; 
  211.             Commands is [
  212.                 cEnableCommand
  213.                 with Target is oTargetSelf; Mode is Clear; end,
  214.                 cShowCommand
  215.                 with Target is oTargetSelf; Mode is Clear; end,
  216.                 cRunCommand
  217.                 with Target is oTargetSelf; Mode is Clear; end,
  218.                 cRunCommand
  219.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  220.             ];
  221.         end,
  222.         cMouseUpEvent
  223.         with Flags is $00000004; Flag is true; 
  224.             Commands is [
  225.                 cEnableCommand
  226.                 with Target is oTargetSelf; Mode is Clear; end,
  227.                 cShowCommand
  228.                 with Target is oTargetSelf; Mode is Clear; end,
  229.                 cRunCommand
  230.                 with Target is oTargetSelf; Mode is Clear; end,
  231.                 cRunCommand
  232.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  233.             ];
  234.         end
  235.     ];
  236. end;